import { TakeoutModel } from "./Takeout";
import { UserModel } from "./User";

interface Menu {
    id?: number;
    create_time?: Date;
    user: string | UserModel;
    count: number;
    price: number;
    takeout: number | TakeoutModel;
}


export class MenuModel implements Menu {
    id?: number | undefined;
    create_time?: Date | undefined;
    user!: string | UserModel;
    count!: number;
    price!: number;
    takeout!: number | TakeoutModel;
}